package com.cy.pj.sys.dao;

import com.cy.pj.sys.pojo.SysNotice;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface SysNoticeDao {
    List<SysNotice> selectNotices(SysNotice notice);
    int updateNotice(SysNotice notice);
    int insertNotice(SysNotice notice);
    int deleteNotice(Long ... ids);
    @Select("select * from sys_notice where id=#{id}")
    SysNotice selectById(/*@Param("id")*/ Long id);
}
